Optimal. Leaf size=217 \[ \frac {35 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{1024 \sqrt {2} a^{9/2} d}+\frac {853 \sin (c+d x) \sqrt {\cos (c+d x)}}{3072 a^3 d (a \cos (c+d x)+a)^{3/2}}-\frac {187 \sin (c+d x) \sqrt {\cos (c+d x)}}{768 a^2 d (a \cos (c+d x)+a)^{5/2}}-\frac {\sin (c+d x) \cos ^{\frac {5}{2}}(c+d x)}{8 d (a \cos (c+d x)+a)^{9/2}}-\frac {19 \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{96 a d (a \cos (c+d x)+a)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.56, antiderivative size = 217, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {2765, 2977, 2978, 12, 2782, 205} \[ \frac {853 \sin (c+d x) \sqrt {\cos (c+d x)}}{3072 a^3 d (a \cos (c+d x)+a)^{3/2}}-\frac {187 \sin (c+d x) \sqrt {\cos (c+d x)}}{768 a^2 d (a \cos (c+d x)+a)^{5/2}}+\frac {35 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{1024 \sqrt {2} a^{9/2} d}-\frac {\sin (c+d x) \cos ^{\frac {5}{2}}(c+d x)}{8 d (a \cos (c+d x)+a)^{9/2}}-\frac {19 \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{96 a d (a \cos (c+d x)+a)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 205
Rule 2765
Rule 2782
Rule 2977
Rule 2978
Rubi steps
\begin {align*} \int \frac {\cos ^{\frac {7}{2}}(c+d x)}{(a+a \cos (c+d x))^{9/2}} \, dx &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {\int \frac {\cos ^{\frac {3}{2}}(c+d x) \left (\frac {5 a}{2}-7 a \cos (c+d x)\right )}{(a+a \cos (c+d x))^{7/2}} \, dx}{8 a^2}\\ &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {\int \frac {\sqrt {\cos (c+d x)} \left (\frac {57 a^2}{4}-\frac {65}{2} a^2 \cos (c+d x)\right )}{(a+a \cos (c+d x))^{5/2}} \, dx}{48 a^4}\\ &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {187 \sqrt {\cos (c+d x)} \sin (c+d x)}{768 a^2 d (a+a \cos (c+d x))^{5/2}}-\frac {\int \frac {\frac {187 a^3}{8}-\frac {333}{4} a^3 \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+a \cos (c+d x))^{3/2}} \, dx}{192 a^6}\\ &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {187 \sqrt {\cos (c+d x)} \sin (c+d x)}{768 a^2 d (a+a \cos (c+d x))^{5/2}}+\frac {853 \sqrt {\cos (c+d x)} \sin (c+d x)}{3072 a^3 d (a+a \cos (c+d x))^{3/2}}-\frac {\int -\frac {105 a^4}{16 \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{384 a^8}\\ &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {187 \sqrt {\cos (c+d x)} \sin (c+d x)}{768 a^2 d (a+a \cos (c+d x))^{5/2}}+\frac {853 \sqrt {\cos (c+d x)} \sin (c+d x)}{3072 a^3 d (a+a \cos (c+d x))^{3/2}}+\frac {35 \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{2048 a^4}\\ &=-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {187 \sqrt {\cos (c+d x)} \sin (c+d x)}{768 a^2 d (a+a \cos (c+d x))^{5/2}}+\frac {853 \sqrt {\cos (c+d x)} \sin (c+d x)}{3072 a^3 d (a+a \cos (c+d x))^{3/2}}-\frac {35 \operatorname {Subst}\left (\int \frac {1}{2 a^2+a x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{1024 a^3 d}\\ &=\frac {35 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{1024 \sqrt {2} a^{9/2} d}-\frac {\cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{8 d (a+a \cos (c+d x))^{9/2}}-\frac {19 \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{96 a d (a+a \cos (c+d x))^{7/2}}-\frac {187 \sqrt {\cos (c+d x)} \sin (c+d x)}{768 a^2 d (a+a \cos (c+d x))^{5/2}}+\frac {853 \sqrt {\cos (c+d x)} \sin (c+d x)}{3072 a^3 d (a+a \cos (c+d x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 6.04, size = 347, normalized size = 1.60 \[ \frac {2 \sin \left (\frac {c}{2}+\frac {d x}{2}\right ) \cos ^9\left (\frac {c}{2}+\frac {d x}{2}\right ) \left (1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )\right )^{9/2} \left (\frac {1}{8} \left (\frac {1}{1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )}+\frac {7}{6 \left (1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )\right )^2}+\frac {35}{24 \left (1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )\right )^3}+\frac {35}{16 \left (1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )\right )^4}\right )+\frac {35 \sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right )} \csc \left (\frac {c}{2}+\frac {d x}{2}\right ) \sin ^{-1}\left (\frac {\sin \left (\frac {c}{2}+\frac {d x}{2}\right )}{\sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right )}}\right )}{128 \left (1-\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right )\right )^{9/2}}\right )}{d \sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right )} (a (\cos (c+d x)+1))^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 2.03, size = 248, normalized size = 1.14 \[ \frac {105 \, \sqrt {2} {\left (\cos \left (d x + c\right )^{5} + 5 \, \cos \left (d x + c\right )^{4} + 10 \, \cos \left (d x + c\right )^{3} + 10 \, \cos \left (d x + c\right )^{2} + 5 \, \cos \left (d x + c\right ) + 1\right )} \sqrt {a} \arctan \left (\frac {\sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, {\left (a \cos \left (d x + c\right )^{2} + a \cos \left (d x + c\right )\right )}}\right ) + 2 \, {\left (853 \, \cos \left (d x + c\right )^{3} + 819 \, \cos \left (d x + c\right )^{2} + 455 \, \cos \left (d x + c\right ) + 105\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{6144 \, {\left (a^{5} d \cos \left (d x + c\right )^{5} + 5 \, a^{5} d \cos \left (d x + c\right )^{4} + 10 \, a^{5} d \cos \left (d x + c\right )^{3} + 10 \, a^{5} d \cos \left (d x + c\right )^{2} + 5 \, a^{5} d \cos \left (d x + c\right ) + a^{5} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (d x + c\right )^{\frac {7}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {9}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.19, size = 346, normalized size = 1.59 \[ \frac {\left (\cos ^{\frac {7}{2}}\left (d x +c \right )\right ) \left (-1+\cos \left (d x +c \right )\right )^{7} \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \left (853 \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \left (\cos ^{4}\left (d x +c \right )\right )+105 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right )-34 \left (\cos ^{3}\left (d x +c \right )\right ) \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+315 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )-364 \left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+315 \cos \left (d x +c \right ) \sin \left (d x +c \right ) \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right )-350 \cos \left (d x +c \right ) \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+105 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right )-105 \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right ) \sqrt {2}}{6144 d \left (\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}\right )^{\frac {7}{2}} \sin \left (d x +c \right )^{15} a^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (d x + c\right )^{\frac {7}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {9}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\cos \left (c+d\,x\right )}^{7/2}}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{9/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________